package com.zjxh.zjxh.mob.service;

import com.zjxh.zjxh.common.Result;
import com.zjxh.zjxh.common.req.IdReq;
import com.zjxh.zjxh.common.req.PageKeywordReq;
import com.zjxh.zjxh.common.util.NPage;
import com.zjxh.zjxh.mob.vo.req.ClaimInsertReq;
import com.zjxh.zjxh.mob.vo.req.EvaluateReq;
import com.zjxh.zjxh.mob.vo.resp.ExpertInfoResp;
import com.zjxh.zjxh.mob.vo.resp.ExpertListResp;
import javax.servlet.http.HttpServletRequest;

/**
 * @author: oyp
 * @date: 2024/5/28 on 16:08
 * @desc:
 */
public interface ApplicationClaimService {

  /**
   * 专家列表
   *
   * @param request
   * @param req
   * @return
   */
  Result<NPage<ExpertListResp>> expertList(HttpServletRequest request, PageKeywordReq req);

  /**
   * @param request
   * @param req
   * @return
   */
  Result<Object> insetClaim(HttpServletRequest request, ClaimInsertReq req);

  /**
   * 添加评价
   *
   * @param request
   * @param req
   * @return
   */
  Result<Object> insetEvaluate(HttpServletRequest request, EvaluateReq req);

  /**
   * 专家详情
   *
   * @param request
   * @param req
   * @return
   */
  Result<ExpertInfoResp> expertInfo(HttpServletRequest request, IdReq req);
}
